package univer.oko.utilities.calendar;

/**
 * @author Eduard Dudar
 *         Date: 29.08.2005
 *         Time: 2:00:03
 */
public class Month extends Entry {
    private static final long serialVersionUID = 8463186052950818932L;

    private int month;
    private int calendarYear;

    public Month(int month, int calendarYear) {
        this.month = month;
        this.calendarYear = calendarYear;
    }

    public int getNumber() {
        return this.month;
    }

    public int getYear() {
        return this.calendarYear;
    }

    public String toString() {
        return this.month + "." + this.calendarYear + ": " + super.toString();
    }
}
